package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * news-news
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class News extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	public static final int STATUS_VALID = 0;
	public static final int STATUS_INVALID = 1;
    
	/**
	 * 资讯标题
	 */
	@ApiModelProperty(value = "资讯标题")
	 private String title;
	
	 private Long tagId;
	/**
	 * 资讯封面图
	 */
	@ApiModelProperty(value = "资讯封面图")
	 private String cover;
	/**
	 * 资讯内容
	 */
	@ApiModelProperty(value = "资讯内容")
	 private String content;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")		
	 private Timestamp createTime;	
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
	 private Timestamp updateTime;
	/**
	 * 定时显示时间
	 */
	@ApiModelProperty(value = "定时显示时间")	
	 private Timestamp showTime;
	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	 private String remark;
	/**
	 * 新闻状态  0：有效 1：无效
	 */
	@ApiModelProperty(value = "新闻状态  0：有效 1：无效")
	 private Integer status;
	
	 //标签内容
     private String tagName;
     
 	 //开始时间
 	 private Timestamp startTime;
 	
 	 //结束时间
 	 private Timestamp endTime;

	
 	 
 	 
    public Long getTagId() {
		return tagId;
	}

	public void setTagId(Long tagId) {
		this.tagId = tagId;
	}

	public Timestamp getStartTime() {
		return startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public News(){
    
    }
    
    

	public String getTagName() {
		return tagName;
	}

	public void setTagName(String tagName) {
		this.tagName = tagName;
	}

	public Timestamp getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

	public Timestamp getShowTime() {
		return showTime;
	}

	public void setShowTime(Timestamp showTime) {
		this.showTime = showTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTitle() {
        return this.title;
    }
    
    public void setTitle(String title) {
        this.title = title;
    }
    public String getCover() {
        return this.cover;
    }
    
    public void setCover(String cover) {
        this.cover = cover;
    }
    public String getContent() {
        return this.content;
    }
    
    public void setContent(String content) {
        this.content = content;
    }
    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

}